New York City lawmakers have passed a historic package of bills to improve labor conditions for gig economy and food delivery workers.

The first of its kind legislation, which targets app-based delivery companies such as Grubhub, Uber Eats, and Doordash, will set minimum pay, allow workers to keep more of their tips, and limit how far workers can be asked to travel for deliveries. It will also guarantee workers access to bathrooms – a problem that has long plagued people in the gig economy and has been exacerbated by Covid-19 restrictions.

City council speaker Corey Johnson, speaking in a press conference following the vote on Thursday, said the package would give workers the “rights they deserve” and inspire future legislation.